#ifndef __myusart_RX_H__
#define __myusart_RX_H__

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "main.h"

#define ChenHG 1  //@ChenHG Writed Code
#define	LIUYONHAO 0
#if ChenHG
#define USART_BUFF_LENGTH 500
typedef enum
{
	RX_Flag_Done = 0x01,
	RX_Flag_Full = 0x02,
	RX_Flag_RecvIDLE = 0x04
	
}USART_Buff_Flag_Def;
typedef struct
{
	uint16_t Len;
	USART_Buff_Flag_Def Flag;
	uint8_t Buffer[USART_BUFF_LENGTH];
	
}USART_Buffer_Def;
typedef struct
{
	
}SoftUSART_TypeDef;
extern USART_Buffer_Def SoftUSART_RxBuff;
#endif

void test_rx(void);
void GPIO_A_10_CALLBACK(void);
void TIM2_IRQHandlerHandle(void);
#ifdef __cplusplus
}
#endif
#endif /*__ GPIO_H__ */
